from django.conf.urls import url
from . import views


urlpatterns = [
    url(r'^qq/authorization/$',views.OauthQQCodeView.as_view()),
    url(r'^qq/user/$',views.OauthQQOpenidView.as_view()),
    url(r'^weibo/authorization/$',views.OauthWeiboCodeView.as_view()),
    url(r'^sina/user/$',views.OauthWeibotokenView.as_view()),
    url(r'^sina/sms_codes/(?P<mobile>1[3-9]\d{9})/$',views.OauthWeiboSmscodeView.as_view()),
]
